<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
html, body, iframe {
	width: 100%;
	height: 100%;
	margin: 0px;
	padding: 0px;
}

#dg {
	width: 100%;
	right: 0px;
	bottom: 0px;
}
</style>
<script type="text/javascript">
	function openUrl(url) {
		if(url.indexOf("http://") == 0){
			window.location.href = url;
		}else{
			window.location.href = 'tel://' + url;  
		}
	}
</script>
</head>
<body>
	<iframe runat="server"
		src="${info.carrierUrl}" width="100%"
		height="100%" frameborder="no" border="0" marginwidth="0"
		marginheight="0" allowtransparency="yes"></iframe>
	<div id="dg">
		<img id="img" onclick="openUrl('${info.mobileOrLink}')"
			src="${info.adverImagesUrl}"
			style="width: 100%;" /> <strong>${info.adverSlogan}</strong>
	</div>
</body>

</html>